package com.mycompany.app.testsuite.security;

import java.util.Date;

import com.mycompany.app.common.audit.access.filter.dao.ILoggingMessageDao;
import com.mycompany.app.common.audit.access.filter.model.LoggingMessage;
import com.mycompany.app.testsuite.BaseTestUtils;
import com.mycompany.app.util.SpringUtils;

public class LoggingMessageDaoTest extends BaseTestUtils{
    
   public static void main(String[] args) {

       ILoggingMessageDao p = (ILoggingMessageDao) SpringUtils
       .getApplicationContext().getBean("loggingMessageDao");
       LoggingMessage l=new LoggingMessage();
       l.setLogTime(new Date());
       l.setRemoteHost("127.0.0.1");
       p.save(l);
}
    

}
